package com.gztms.travelmgnt.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gztms.travelmgnt.pojo.AttrCate;
import com.gztms.travelmgnt.pojo.Attractions;
import com.gztms.utils.ResultUtil;

/**
 * @author Zoey
 * @date 2023/4/19 21:02
 * @Description TODO
 **/
public interface AttractionsService extends IService<Attractions> {

    ResultUtil addAttr(Attractions attractions);

    ResultUtil findAttrs(int pageNum, int pageSize);

    ResultUtil findAllArea();

    ResultUtil findAllCate();

    ResultUtil updateAttr(Attractions attractions);

    ResultUtil updateAttrBanner(String bannerUrl);

    ResultUtil addAttrCate(AttrCate attrCate);

    ResultUtil updateAttrCate(AttrCate attrCate);

    ResultUtil delAttrById(Integer attrId);

    ResultUtil findAttrById(Integer attrId);

    ResultUtil searchAttrList(Integer pageNum, Integer pageSize, String name, Integer attrCateId, Integer areaId);

    ResultUtil recommendAttr();
}
